<?php
return [
    'swConfig' => [
        'worker_num' => swoole_cpu_num(),
        'daemonize' => false,
        'max_conn' => 65535,
        'heartbeat_check_interval' => 5,
        'heartbeat_idle_time' => 10,
        'pid_file' => runtime_path() . 'dht.pid',
        'log_file' => runtime_path() . 'dht.log',
    ],
    'nodeTables' => [
        'store' => 'dht',
        'maxNumber' => 30000
    ],
    'handle' => '',
    'bootstrapNodes' => [
        ['router.bittorrent.com', 6881],
        ['dht.transmissionbt.com', 6881],
        ['router.utorrent.com', 6881]
    ]
];